//package homework;// a class to greedily create a time table for a given set of courses, time
//// slots, rooms and students
////
//// run with java TimeTable <file>
//
//// YOUR TASK 4: complete geedyTimeTable()
//
//public class TimeTable {
//
//    private Register<TimeSlot> slots;
//    private Register<Course> courses;
//
//    public TimeTable(Register<TimeSlot> s, Register<Course> c) {
//        slots = s;
//        courses = c;
//    }
//
//    // return a string representation of the courses
//    // and their assigned timeslots
//    public String toString() {
//        String s = "";
//        courses.startIteration();
//        while( courses.hasNext() ) {
//            Course c=courses.next();
//            s += c + "\n\n";
//        }
//        return s;
//    }
//
//    public void greedyTimeTable() {
//        // your code here (see Task 4)
//    }
//
//
//    public static void main (String[] args) {
//        if (args.length<1) {
//            return;
//        }
//        TimeTable table = Input.read(args[0]);
//        if (table != null) {
//            table.greedyTimeTable();
//            System.out.println(table);
//        }
//    }
//}